<html>
<head>
	<meta charset="utf-8" />
	<script type="text/javascript">
		function jumpToBaidu(){
			window.location.href = "https://www.baidu.com";
		}
		setTimeout(jumpToBaidu, 3000);
	</script>
</head>
<body>
	3秒钟之后页面将跳转到百度...
</body>
</html>